#pragma once
#include "GDxPreInclude.h"
#include <GRendererInfra/GRiImgui.h>
class GDxImgui:public GRiImgui
{
public:
	void Init(HWND hwnd, ID3D11Device* device, ID3D11DeviceContext* deviceContext);

	virtual void BeginFrame() override;


	virtual void SetGUIContent(bool bShowGizmo, const float* cameraView, float* cameraProjection, float* objectLocation, float* objectRotation, float* objectScale, float& cameraSpeed, int clientWidth, int clientHeight) override;

	void Render();

	virtual void ShutDown() override;
private:
	void Manipulation(bool bShowGizmo, const float* cameraView, float* cameraProjection, float* objectLocation, float* objectRotation, float* objectScale, float& cameraSpeed);

	 int mCameraSpeedUpperBound = 20;
	 int mCameraSpeedLowerBound = 1;
	 float mInitialCameraSpeed= 3;
};

